#version 330 core
in vec3 ourColor;
in vec2 TexCoord;

out vec4 color;

uniform sampler2D image;

void main()
{
	float brightness = ourColor.x;
	vec4 tex = texture(image,TexCoord);
	color = vec4(tex.xyz * brightness,tex.w);
}